package com.xnxy.design.model;

import java.util.Date;

/**
 * 商品实体类
 */
public class Goods {
    private Integer id;

    //商品标题
    private String title;

    //发布时间
    private Date time;

    private String type;

    //发布用户
    private Integer userid;

    private String text;

    //商品图片
    private String img;

    //商品视频
    private String vide;

    //单价
    private Integer price;

    //货品名称
    private String gname;

    //认养时间
    private String gtime;

    //库存
    private Integer inven;

    //商品位置
    private String access;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }

    public String getVide() {
        return vide;
    }

    public void setVide(String vide) {
        this.vide = vide == null ? null : vide.trim();
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname == null ? null : gname.trim();
    }

    public String getGtime() {
        return gtime;
    }

    public void setGtime(String gtime) {
        this.gtime = gtime == null ? null : gtime.trim();
    }

    public Integer getInven() {
        return inven;
    }

    public void setInven(Integer inven) {
        this.inven = inven;
    }

    public String getAccess() {
        return access;
    }

    public void setAccess(String access) {
        this.access = access == null ? null : access.trim();
    }
}